package indi.kider.server.woniubus.service;

import indi.kider.common.model.apabus.Reservation;
import indi.kider.common.model.apabus.ReservationQuery;
import pers.vankid.common.utils.page.PageRequest;
import pers.vankid.common.utils.page.PageResponse;

public interface ReservationService {

    /**
     * 查询预定接口
     *
     * @return
     */
    PageResponse getReservationPageList(PageRequest<ReservationQuery> request);

    /**
     * 预定服务
     *
     * @param reservation
     */
    void reservation(Reservation reservation);

    /**
     * 更新预约服务
     * @param reservation
     */
    void updateReservationState(Reservation reservation)throws Exception;


}
